package com.example.ymm.modules1.entity.hl.ex;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 用户答题记录
 */

@Data
public class ExUserAnser implements Serializable {

    @TableId
    private String userAnswerId;

    private String userId;

    private String userName;

    String publishQuestionId;//对应的题目

    String publishOptionId;//选择的选项

    String publishPaperId;

    String publishGroupId;

    private Integer isTrue;//是否答对0否 1是

    Integer izDist;//是否不区分对错 1不区分 0区分

    Integer haveAnser;//有没有答题0否 1是

    String userPaperId;

    Integer score;//得分

    @TableField(fill = FieldFill.INSERT)
    private Timestamp createTime;

    @TableField(exist = false)
    String questionId;

}
